public class IAMHaggler_Test_Offering extends OfferingStrategy
| Modifier and Type | Field and Description |
|---|---|
protected RandomBidCreator |
bidCreator |
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel| Constructor and Description |
|---|
IAMHaggler_Test_Offering() |
IAMHaggler_Test_Offering(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms) |
| Modifier and Type | Method and Description |
|---|---|
BidDetails |
determineNextBid()
Determines the next bid the agent will offer to the opponent
|
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent
|
int |
getAmountOfSamples() |
Jama.Matrix |
getMeans() |
Jama.Matrix |
getVariances() |
void |
init(NegotiationSession negotiationSession,
OpponentModel opponentModel,
OMStrategy omStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy.
|
getHelper, getNextBid, isEndNegotiation, setNextBidprotected RandomBidCreator bidCreator
public IAMHaggler_Test_Offering()
public IAMHaggler_Test_Offering(NegotiationSession negoSession, OpponentModel model, OMStrategy oms) throws java.lang.Exception
java.lang.Exceptionpublic void init(NegotiationSession negotiationSession, OpponentModel opponentModel, OMStrategy omStrategy, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OfferingStrategyinit in class OfferingStrategynegotiationSession - state of the negotiation.opponentModel - opponent model which may be used.omStrategy - opponent model strategy which may be used.parameters - optional parameters for the offering strategy.java.lang.Exception - if the offering strategy fails to initialize.public BidDetails determineOpeningBid()
OfferingStrategydetermineOpeningBid in class OfferingStrategypublic BidDetails determineNextBid()
OfferingStrategydetermineNextBid in class OfferingStrategypublic Jama.Matrix getMeans()
public Jama.Matrix getVariances()
public int getAmountOfSamples()